Pull latest fixtures from php-textile
#1
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello!
I wrote a tiny Ruby library that wraps this crate. I really like how fully featured your crate is!
This PR is very much WIP, but I wanted to hear your thoughts before I got any further. As a part of working on this PR, I had to compare this repo with the canonical PHP repo, and I did find the similarities quite helpful 😁
I pulled the most recent fixtures from
php-textileinto this library. The canonical PHP repo seemed to have just a few changes since 2022, so I didn't think there would be too many changes to bring it all up to date. But this import ended up breaking a lot of tests!Here's a quick summary of the various problems I've been running into:
setupkey is not a hash anymore, it is an array of hashes.I started to try to fix this, but I paused after hitting some ownership issues.Edit: I have an initial fix for this!/from links. I fixed at least one test here that had this issue.xyzin tests. I didn't really look into this, I stopped once I got this far. This affects tests with footnotes.What are your thoughts on this? Are you still maintaining this crate? Would you say you want these changes? And if so, do you have any thoughts on how we can make this library compatible with the PHP repo? Would you say that this is a goal of yours?
To be honest, I can't commit to getting this PR across the finish line. I don't expect you to either! Please do feel free to close this PR. But I am interested in some of these problems, so it's very possible I will make some progress on this here and there.